package tools;

import java.math.BigDecimal;
import java.util.Date;

public class SdoPortOrderDetail {

    private Short id;

    // 电商平台订单号
    private String merchantOrderNo;

    // 申请请求号
    private String requestNo;

    // 口岸类型
    private String customsType;

    // 固定值：BONDED
    private String businessMode;

    // 盛付通支付订单号
    private String payOrderNo;

    // 订单金额
    private BigDecimal orderAmount;

    // 支付金额 ： 支付金额即 订单金额 + 快递费 + 税费
    private BigDecimal payMentAmount;

    // 快递费,如果不存在,则填0
    private BigDecimal expressFee;

    // 税费,如果不存在,则填0
    private BigDecimal tax;

    // 商户号
    private String merchantNo;

    // 电商平台在对应口岸的企业编号
    private String companyCustomsCode;

    // 电商在海关的企业名称(重庆口岸、上海口岸、天津口岸、郑州口岸、杭州总署时必填)
    private String companyCustomsName;

    public String getCompanyCustomsName() {
        return companyCustomsName;
    }

    public void setCompanyCustomsName(String companyCustomsName) {
        this.companyCustomsName = companyCustomsName;
    }

    // 广州智检平台企业备案号
    private String crossBorderCode;

    // 备注
    private String memo;

    // 关区代码，即仓库所在代码(重庆口岸，不填写默认为8016,天津口岸、郑州口岸、广州单一窗口时时必填)
    private String warehouseCode;

    // 电商平台代码(天津口岸、郑州口岸、上海总署口岸、广州单一窗口时必填)
    private String platformCode;

    // 电商平台名称(天津口岸、郑州口岸、上海总署口岸、广州单一窗口时必填)
    private String platformName;


    // 创建时间
    private Date crtTm;

    // 更新时间
    private Date updtTm;

    // 发送状态
    private String sendFlag;

    // 回执号
    private String receiptNo;

    // 状态(0:处理中, 1:提交成功, 2:失败, 3:申报完成)
    private String status;

    // 海关返回码
    private String responseCode;

    // 海关返回描述
    private String responseMsg;

    /**
     * 进口业务类型,1：报税进口； 2：直邮进口(天津口岸时必填)
     *              1：一般模式 ； 2:保税模式(郑州口岸时必填)
     */
    private String intype;


    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    public String getPlatformCode() {
        return platformCode;
    }

    public void setPlatformCode(String platformCode) {
        this.platformCode = platformCode;
    }

    public String getPlatformName() {
        return platformName;
    }

    public void setPlatformName(String platformName) {
        this.platformName = platformName;
    }

    public String getIntype() {
        return intype;
    }

    public void setIntype(String intype) {
        this.intype = intype;
    }

    public Short getId() {
        return id;
    }

    public void setId(Short id) {
        this.id = id;
    }

    public String getMerchantOrderNo() {
        return merchantOrderNo;
    }

    public void setMerchantOrderNo(String merchantOrderNo) {
        this.merchantOrderNo = merchantOrderNo;
    }

    public String getRequestNo() {
        return requestNo;
    }

    public void setRequestNo(String requestNo) {
        this.requestNo = requestNo == null ? null : requestNo.trim();
    }

    public String getCustomsType() {
        return customsType;
    }

    public void setCustomsType(String customsType) {
        this.customsType = customsType == null ? null : customsType.trim();
    }

    public String getBusinessMode() {
        return businessMode;
    }

    public void setBusinessMode(String businessMode) {
        this.businessMode = businessMode == null ? null : businessMode.trim();
    }

    public String getPayOrderNo() {
        return payOrderNo;
    }

    public void setPayOrderNo(String payOrderNo) {
        this.payOrderNo = payOrderNo == null ? null : payOrderNo.trim();
    }

    public BigDecimal getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(BigDecimal orderAmount) {
        this.orderAmount = orderAmount;
    }

    public BigDecimal getPayMentAmount() {
        return payMentAmount;
    }

    public void setPayMentAmount(BigDecimal payMentAmount) {
        this.payMentAmount = payMentAmount;
    }

    public BigDecimal getExpressFee() {
        return expressFee;
    }

    public void setExpressFee(BigDecimal expressFee) {
        this.expressFee = expressFee;
    }

    public BigDecimal getTax() {
        return tax;
    }

    public void setTax(BigDecimal tax) {
        this.tax = tax;
    }

    public String getMerchantNo() {
        return merchantNo;
    }

    public void setMerchantNo(String merchantNo) {
        this.merchantNo = merchantNo == null ? null : merchantNo.trim();
    }

    public String getCompanyCustomsCode() {
        return companyCustomsCode;
    }

    public void setCompanyCustomsCode(String companyCustomsCode) {
        this.companyCustomsCode = companyCustomsCode;
    }

    public String getCrossBorderCode() {
        return crossBorderCode;
    }

    public void setCrossBorderCode(String crossBorderCode) {
        this.crossBorderCode = crossBorderCode == null ? null : crossBorderCode.trim();
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo == null ? null : memo.trim();
    }

    public Date getCrtTm() {
        return crtTm;
    }

    public void setCrtTm(Date crtTm) {
        this.crtTm = crtTm;
    }

    public Date getUpdtTm() {
        return updtTm;
    }

    public void setUpdtTm(Date updtTm) {
        this.updtTm = updtTm;
    }

    public String getSendFlag() {
        return sendFlag;
    }

    public void setSendFlag(String sendFlag) {
        this.sendFlag = sendFlag == null ? null : sendFlag.trim();
    }

    public String getReceiptNo() {
        return receiptNo;
    }

    public void setReceiptNo(String receiptNo) {
        this.receiptNo = receiptNo == null ? null : receiptNo.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getResponseCode() {
        return responseCode;
    }

    public void setResponseCode(String responseCode) {
        this.responseCode = responseCode == null ? null : responseCode.trim();
    }

    public String getResponseMsg() {
        return responseMsg;
    }

    public void setResponseMsg(String responseMsg) {
        this.responseMsg = responseMsg == null ? null : responseMsg.trim();
    }

	@Override
	public String toString() {
		return "SdoPortOrderDetail [id=" + id + ", merchantOrderNo="
				+ merchantOrderNo + ", requestNo=" + requestNo
				+ ", customsType=" + customsType + ", businessMode="
				+ businessMode + ", payOrderNo=" + payOrderNo
				+ ", orderAmount=" + orderAmount + ", payMentAmount="
				+ payMentAmount + ", expressFee=" + expressFee + ", tax=" + tax
				+ ", merchantNo=" + merchantNo + ", companyCustomsCode="
				+ companyCustomsCode + ", crossBorderCode=" + crossBorderCode
				+ ", memo=" + memo + ", crtTm=" + crtTm + ", updtTm=" + updtTm
				+ ", sendFlag=" + sendFlag + ", receiptNo=" + receiptNo
				+ ", status=" + status + ", responseCode=" + responseCode
				+ ", responseMsg=" + responseMsg + "]";
	}
    
}